<script>
function openWindow() {
  var opened = !!window.open();
  window.domAutomationController.send(opened);
}
</script>
